<%page args="user"/>
<h1>${c.config.Site.name or ''} Login</h1>
<form action="${c.site_uri}/user/login" method="POST">
<input type="hidden" name="returnpath" value="${req.params.returnpath or ''}"/>
<table>
  <tr>
    <td>Email:</td>
    <td><input type="text" id="user_email" name="user_email" value="${user.email or ''}"/></td>
  </tr>
  <tr>
    <td>Password:</td>
    <td><input type="password" name="user_password"/></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value="Login &raquo;"/></td>
  </tr>
</table>
</form>
<p><a href="${c.site_uri}/user/resetpwd">Forgot your password? Click here to reset it.</a></p>
<p><a href="${c.site_uri}/user/signup">Need an account? Click here to sign up.</a></p>